If (VBScript)

The If command allows conditional execution based on the evaluation of an expression. There can be multiple Else/If's per statement, but only one Else.

Syntax

IF <boolean expression> THEN

<statements>

ELSEIF <boolean expression> THEN

<statements>}

ELSE

<statements>

ENDIF